cmake_minimum_required(VERSION 2.8.3)
project(imagedetec)
add_compile_options(-std=c++11)

find_package( OpenCV 3.4 REQUIRED )

find_package(catkin REQUIRED COMPONENTS
  cv_bridge
  image_transport
  roscpp
  sensor_msgs
  std_msgs
)

catkin_package(
)

include_directories(
  ${catkin_INCLUDE_DIRS}
/usr/include/boost-1.60.0/include
/usr/local/include/opencv2
/usr/local/include/opencv
)

include_directories(${OpenCV_INCLUDE_DIRS})
link_directories(${OpenCV_LIBRARY_DIRS})
add_definitions(${OpenCV_DEFINITIONS})

add_executable(imageDetec src/main.cc)
target_link_libraries(imageDetec ${catkin_LIBRARIES} ${OpenCV_LIBS}  
)
